﻿#pragma once


// CWhiteTestDlg 对话框

class CWhiteTestDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CWhiteTestDlg)

public:
	CWhiteTestDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CWhiteTestDlg();

	// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_WHITE };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	void ReadConfigIni();
	void SaveEditValueToConfig();

	virtual BOOL OnInitDialog();
	virtual void OnCancel();
	BOOL m_bFlag1;
	BOOL m_bScanX;
	BOOL m_bScanY;
	int m_nScanDis;
	int m_nThreshold;
	int m_nFilter;
	afx_msg void OnBnClickedButtonSave();
	BOOL m_bFlag2;
	float m_dHigh;
	float m_dLow;
	int m_nStainMax;
	double Power;
	double PowerAdd;
	double PowerSpec;
	int m_nStainMax2;
	double m_dPowerMax;
	afx_msg void OnBnClickedButton1();
	double m_dPowerMin;
	int Spec99;
	BOOL PowerCH1Flag;
	BOOL PowerWhiteFlag;
	BOOL WhiteOtherCap;
	BOOL RPFlag;
	double Power_Up;
	double Power_Down;
};
